Platform Explorer / Nuxeo Platform 2023.13

Contribution org.nuxeo.ecm.user.center.urlservice--codecs

This contribution is part of XML component org.nuxeo.ecm.user.center.urlservice inside nuxeo-user-center-2023.13.9.jar /OSGI-INF/urlservice-contrib.xml

Documentation

The user codec uses the given username to select and display a user. Urls are of the form http://site/nuxeo/user/username(/view).

The view is optional, and defaults to view_home if not present.

Extension Point

Extension point codecs of component DocumentViewCodecService.

Registration Order

10
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <documentViewCodec class="org.nuxeo.ecm.platform.url.codec.DocumentPathCodec" default="false" enabled="true" name="docpathhome" prefix="nxhome"/>
  • <documentViewCodec class="org.nuxeo.ecm.user.center.UserCodec" default="false" enabled="true" name="user" prefix="user"/>
  • <documentViewCodec class="org.nuxeo.ecm.user.center.GroupCodec" default="false" enabled="true" name="group" prefix="group"/>

XML Source

<extension point="codecs" target="org.nuxeo.ecm.platform.url.service.DocumentViewCodecService">

    <documentViewCodec class="org.nuxeo.ecm.platform.url.codec.DocumentPathCodec" default="false" enabled="true" name="docpathhome" prefix="nxhome"/>

    <documentation>
      The user codec uses the given username to select and display a user.
      Urls are of the form http://site/nuxeo/user/username(/view).

      The view is optional, and defaults to view_home if not present.
    </documentation>
    <documentViewCodec class="org.nuxeo.ecm.user.center.UserCodec" default="false" enabled="true" name="user" prefix="user"/>
    <documentViewCodec class="org.nuxeo.ecm.user.center.GroupCodec" default="false" enabled="true" name="group" prefix="group"/>

  </extension>